import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { formatMoney, formatNumber, saleNum } from './filters'
import './utils/vant-import'

// 全局注册 filter
Vue.filter('money', formatMoney)
Vue.filter('formatNumber', formatNumber)
Vue.filter('saleNum', saleNum)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
